<!doctype html>
<html>
<head>
<title>WonTube - Genre</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<#include "/admin/include/css.html">
</head>
<body>
<div id="page">
	<#include "/admin/include/header.ftl">	 	
	<div class="admin_content">  	
		类别:<select id="category">								
				<#if categorys??>
					<#list categorys as ca>		
						<option value="${ca}">${ca}</option>
					</#list>
				</#if>
			</select>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			<input type="button" id="add_genre_btn" value="增加genre" />	
			<div id="genre_list"></div>
	</div>
	
	<!-- dialog -->
    <#include "/admin/genre/add_genre.ftl">  
	<div id="update_genre_div" class="content-wrap" 
     style="display:none;background: white;position:absolute;padding: 50px;z-index:1025">
     	<div title="close" class="dialog-close popup-box-close"></div>	
     	<div>Update Genre ?</span></div>
     	<div id="update_content_div"></div>
	    <div class="dialog-bottom alert-buttom">
		    <button class="dialog-submit dl-submit dl-submit-dis">Update</button>
		    <button class="dialog-cancel dl-submit">Cancel</button>
	    </div>
     </div>	 
	<div class="clear-float"></div>
	<#include "/admin/include/footer.ftl">
</div>
</body>
<#include "/admin/include/js.html">
<script type="text/javascript" src="${jsRoot}/admin/genre_index.js"></script>
</html>